package com.bm.server.controller;

import com.bm.common.vo.R;
import com.bm.server.service.intf.BloodBlockService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Hey man，take your time！
 *
 * @Author: 李松洋
 * @Description:代码永不报错，工资永在上涨！！！
 * @Date: Create in 16:44 2022/7/22
 */
@RestController
@RequestMapping("/server/bloodBlock/")
public class BloodBlockController {
    @Resource
    private BloodBlockService service;
    @GetMapping("/all.do")
    public R all(){
        return service.bloodBlock();
    }
}
